.all:PHONY
all:server client

Lib=-ljsoncpp
Flag=-DMyself=1

server:Servercal.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)

client:Client.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)

.PHONY:clean
clean:
	rm -rf server client